package com.dmpp.mes.dao;

import com.dmpp.mes.parameterInfo.Category;
import com.dmpp.mes.parameterInfo.Type;

import java.util.List;

public interface TypeMapper {


    List<Type> findAll(Type type);

    Type findByCode(String code);

    void insert(Type type);

    void updateByCode(Type type);

    void deleteByCode(String code);

    int count(String code);

    void delete(String code);

}
